<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Document</title>
    <link rel="stylesheet" href="./css/index1.css" />
    <link rel="stylesheet" href="./css/index2.css" />
    <link rel="stylesheet" href="./css/index3.css" />
    <link rel="stylesheet" href="./css/index4.css" />
    <style>
      html {
        scroll-behavior: smooth;
      }

      /* productnav 是顶部导航栏，添加 fixed 类就可以固定定位 */
      .productnav.fixed {
        position: fixed;
        z-index: 999;
        width: 100%;
        top: 0;
        left: 0;
      }

      .productnav.fixed .productnav-icon {
        display: none;
      }

      /* 导航栏底部可以滑动的黑色线 */
      .line {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 2px;
        background-color: #000;
        transition: all 0.2s linear;
      }
    </style>
  </head>

  <body
    class="huawei-v4 huawei-cn hasCookie none-ecommerce"
    style="overflow: auto"
  >
    <div class="productnav">
      <div class="js-productnav-fixed" style="top: 104px">
        <div class="productnav-box">
          <div class="productnav-wrap">
            <ul
              class="productnav-items productnav-right-shadow productNav-change-top"
            >
              <li class="productnav-item active">
                <a
                  class="productnav-link js-nav-anchor"
                  title="HUAWEI MatePad Pro 系列"
                  data-title="HUAWEI MatePad Pro 系列"
                  href="javascript:;"
                >
                  <div class="productnav-label" style="height: 0px"></div>
                  <div class="productnav-icon">
                    <img
                      class="productnav-icon_img"
                      src="./images/nav01.png"
                      alt="HUAWEI MatePad Pro 系列"
                    />
                  </div>
                  <span class="productnav-slot"></span>
                  <div class="productnav-title" style="height: 42px">
                    <span class="productnav-size-title">
                      HUAWEI MatePad Pro 系列
                    </span>
                    <span
                      class="productnav-size-text"
                      style="height: 0px"
                    ></span>
                  </div>
                </a>
              </li>
              <li class="productnav-item">
                <a
                  class="productnav-link js-nav-anchor"
                  title="HUAWEI MatePad 系列"
                  data-title="HUAWEI MatePad 系列"
                  href="javascript:;"
                >
                  <div class="productnav-label" style="height: 0px"></div>
                  <div class="productnav-icon">
                    <img
                      class="productnav-icon_img"
                      src="./images/nav02.png"
                      alt="HUAWEI MatePad 系列"
                    />
                  </div>
                  <span class="productnav-slot"></span>
                  <div class="productnav-title" style="height: 42px">
                    <span class="productnav-size-title">
                      HUAWEI MatePad 系列
                    </span>
                    <span
                      class="productnav-size-text"
                      style="height: 0px"
                    ></span>
                  </div>
                </a>
              </li>
              <li class="productnav-item">
                <a
                  class="productnav-link js-nav-anchor"
                  title="HUAWEI MatePad Paper 系列"
                  data-title="HUAWEI MatePad Paper 系列"
                  href="javascript:;"
                >
                  <div class="productnav-label" style="height: 0px"></div>
                  <div class="productnav-icon">
                    <img
                      class="productnav-icon_img"
                      src="./images/nav01.png"
                      alt="HUAWEI MatePad Paper 系列"
                    />
                  </div>
                  <span class="productnav-slot"></span>
                  <div class="productnav-title" style="height: 42px">
                    <span class="productnav-size-title">
                      HUAWEI MatePad Paper 系列
                    </span>
                    <span
                      class="productnav-size-text"
                      style="height: 0px"
                    ></span>
                  </div>
                </a>
              </li>
              <li class="productnav-item">
                <a
                  class="productnav-link js-nav-anchor"
                  title="HUAWEI MatePad SE 系列"
                  data-title="HUAWEI MatePad SE 系列"
                  href="javascript:;"
                >
                  <div class="productnav-label" style="height: 0px"></div>
                  <div class="productnav-icon">
                    <img
                      class="productnav-icon_img"
                      src="./images/nav01.png"
                      alt="HUAWEI MatePad SE 系列"
                    />
                  </div>
                  <span class="productnav-slot"></span>
                  <div class="productnav-title" style="height: 42px">
                    <span class="productnav-size-title">
                      HUAWEI MatePad SE 系列
                    </span>
                    <span
                      class="productnav-size-text"
                      style="height: 0px"
                    ></span>
                  </div>
                </a>
              </li>
              <!-- 可以滑动的底部条 -->
              <div class="line"></div>
            </ul>
          </div>
        </div>
      </div>
    </div>
    <main class="v4 main page-plp">
      <div class="series-list-component">
        <div class="plp-series-list js-nav-fixed">
          <div class="plp-series-banner">
            <div class="series-banner-container" style="width: 100%">
              <div class="series-banner-items">
                <div class="js-scroll-magic">
                  <div
                    class="series-item-in"
                    data-title="HUAWEI MatePad Pro 系列"
                  >
                    <div class="series-item-title">
                      致美设计，致强性能，
                      <br class="hidden-pc" />
                      致佳创作
                      <span style="white-space: nowrap">体验</span>
                    </div>
                    <div class="series-item-text">HUAWEI MatePad Pro 系列</div>
                  </div>
                  <div>
                    <div class="series-banner-item">
                      <div
                        class="series-item-card series-item-card--right"
                        data-position="1"
                      >
                        <div>
                          <div
                            class="global-eCommerce-price series-item-card_wrap"
                            data-title="HUAWEI MatePad Pro"
                            data-interfacename="queryMinPriceAndInv"
                            data-ecsetting="true"
                            data-ecproductid="10086304972824"
                            data-vmallbtn="true"
                            data-pricedisplaytype="{1}{2} {0}"
                          >
                            <div class="series-item-card_content">
                              <div class="series-item-content_exceptbtn">
                                <div class="series-item-content_top">
                                  <div class="series-item-card_label">
                                    <span>最新</span>
                                  </div>
                                  <div class="series-item-card_dot" style="">
                                    11 英寸
                                  </div>
                                  <div
                                    class="series-item-card_title series-item-card-title_normal"
                                  >
                                    <a
                                      href="/cn/tablets/matepad-pro-11"
                                      class="btn--series-topdp"
                                      data-position="1"
                                      data-mktname="HUAWEI MatePad Pro"
                                      title="HUAWEI MatePad Pro"
                                    >
                                      HUAWEI MatePad Pro
                                    </a>
                                  </div>
                                  <div
                                    style="color: #000000"
                                    class="series-item-card_subtitle"
                                  >
                                    120 Hz OLED 全面屏，超轻薄设计，PC
                                    级专业办公。
                                  </div>
                                  <div class="series-item-card_points"></div>
                                </div>
                                <div
                                  class="series-item-card_price"
                                  data-enableskuprice="false"
                                  data-enableintegration="true"
                                >
                                  <div>
                                    <span class="series-item-price_origin">
                                      ￥3499 起
                                    </span>
                                  </div>
                                </div>
                              </div>
                              <div class="series-item-card_btns">
                                <a
                                  title="了解更多"
                                  href="/cn/tablets/matepad-pro-11"
                                  class="btn btn--series-topdp"
                                  data-position="1"
                                  data-mktname="HUAWEI MatePad Pro"
                                >
                                  了解更多
                                </a>
                                <input
                                  type="hidden"
                                  name="buyBtnInfo"
                                  value='{"productName":"HUAWEI MatePad Pro 11 英寸","marketingName":"HUAWEI MatePad Pro 11 英寸","productId":"SPCG00010727","onePriceDisplay":false,"buyButtonMode":{"buttonType":"third-party-site","buyButtonText":"购买","openInNewPage":true,"thirdPartySiteLink":"https://www.vmall.com/product/10086304972824.html?cid=178885","mobileThirdPartySiteLink":"https://m.vmall.com/product/10086304972824.html?cid=178903","partnerCountryFilterEffective":false,"disabledProductLink":false},"enableEc":"true","ecProductId":"10086304972824","ecBuyLink":"/content/huawei-cbg-site/cn/tablets/matepad-pro-11/buy","ecOpenInNewPage":"false","productTitle":"matepad-pro-11","detailLink":"/content/huawei-cbg-site/cn/tablets/matepad-pro-11","openStoreFinderInNewPage":false,"showStoreFinder":false,"priceDisplayType":"{1}{2} {0}","hasPcp":false}'
                                />
                                <a
                                  title="立即购买"
                                  href="/cn/tablets/matepad-pro-11"
                                  data-nameforga=""
                                  data-position="1"
                                  data-eventtype="plp-list"
                                  data-enableec="true"
                                  data-ecpid="10086304972824"
                                  data-ecbuylink="/content/huawei-cbg-site/cn/tablets/matepad-pro-11/buy"
                                  class="btn global-buy-button btn--transparent"
                                  data-mktname="HUAWEI MatePad Pro"
                                >
                                  立即购买
                                </a>
                              </div>
                            </div>
                            <div
                              class="series-item-card_img js-parallax-ele skrollable skrollable-before"
                              data-top-bottom="transform: translateY(-58%);"
                              data-bottom-top="transform: translateY(-42%);"
                              style="transform: translateY(-42%)"
                            >
                              <a
                                href="/cn/tablets/matepad-pro-11"
                                class="btn--series-topdp"
                                data-position="1"
                                data-mktname="HUAWEI MatePad Pro"
                                title="HUAWEI MatePad Pro"
                              >
                                <img
                                  class="series-lazy"
                                  src="./images/01.png"
                                  alt="HUAWEI MatePad Pro"
                                />
                              </a>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                <div class="slot"></div>
                <!-- More Button -->
                <div class="js-scroll-magic">
                  <div class="series-item-in" data-title="HUAWEI MatePad 系列">
                    <div class="series-item-title">
                      专业突出，专注寓教
                      <span style="white-space: nowrap">于乐</span>
                    </div>
                    <div class="series-item-text">HUAWEI MatePad 系列</div>
                  </div>
                  <div>
                    <div class="series-banner-item">
                      <div
                        class="series-item-card series-item-card--left"
                        data-position="1"
                      >
                        <div>
                          <div
                            class="global-eCommerce-price series-item-card_wrap"
                            data-title="HUAWEI MatePad 11"
                            data-interfacename="queryMinPriceAndInv"
                            data-ecsetting="true"
                            data-ecproductid="10086145509015"
                            data-vmallbtn="true"
                            data-pricedisplaytype="{1}{2} {0}"
                            data-productprice="2499"
                          >
                            <div class="series-item-card_content">
                              <div class="series-item-content_exceptbtn">
                                <div class="series-item-content_top">
                                  <div class="series-item-card_dot" style="">
                                    10.95 英寸
                                  </div>
                                  <div
                                    class="series-item-card_title series-item-card-title_normal"
                                  >
                                    <a
                                      href="/cn/tablets/matepad-11"
                                      class="btn--series-topdp"
                                      data-position="1"
                                      data-mktname="HUAWEI MatePad 11"
                                      title="HUAWEI MatePad 11"
                                    >
                                      HUAWEI MatePad 11
                                    </a>
                                  </div>
                                  <div
                                    style="color: #000000"
                                    class="series-item-card_subtitle"
                                  >
                                    120 Hz
                                    高刷全面屏，流畅视觉体验，多屏协同更高效，学习办公好
                                    <span style="white-space: nowrap">
                                      搭档。
                                    </span>
                                  </div>
                                  <div class="series-item-card_points"></div>
                                </div>
                                <div
                                  class="series-item-card_price"
                                  data-enableskuprice="false"
                                  data-enableintegration="true"
                                >
                                  <div>
                                    <span class="series-item-price_origin">
                                      ￥2499 起
                                    </span>
                                  </div>
                                </div>
                              </div>
                              <div class="series-item-card_btns">
                                <a
                                  title="了解更多"
                                  href="/cn/tablets/matepad-11"
                                  class="btn btn--series-topdp"
                                  data-position="1"
                                  data-mktname="HUAWEI MatePad 11"
                                >
                                  了解更多
                                </a>
                                <input
                                  type="hidden"
                                  name="buyBtnInfo"
                                  value='{"productName":"HUAWEI MatePad 11","marketingName":"HUAWEI MatePad 11","productId":"42965","onePriceDisplay":false,"buyButtonMode":{"buttonType":"third-party-site","buyButtonText":"购买","openInNewPage":true,"thirdPartySiteLink":"https://www.vmall.com/product/10086145509015.html?cid=145503","mobileThirdPartySiteLink":"https://m.vmall.com/product/10086145509015.html?cid=145503","partnerCountryFilterEffective":false,"disabledProductLink":false},"price":"2499","enableEc":"true","ecProductId":"10086145509015","ecBuyLink":"/content/huawei-cbg-site/cn/tablets/matepad-11/buy","ecOpenInNewPage":"false","productTitle":"matepad-11","detailLink":"/content/huawei-cbg-site/cn/tablets/matepad-11","openStoreFinderInNewPage":false,"showStoreFinder":false,"priceDisplayType":"{1}{2} {0}","hasPcp":false}'
                                />
                                <a
                                  title="立即购买"
                                  href="/cn/tablets/matepad-11"
                                  data-nameforga=""
                                  data-position="1"
                                  data-eventtype="plp-list"
                                  data-enableec="true"
                                  data-ecpid="10086145509015"
                                  data-ecbuylink="/content/huawei-cbg-site/cn/tablets/matepad-11/buy"
                                  class="btn global-buy-button btn--transparent"
                                  data-mktname="HUAWEI MatePad 11"
                                >
                                  立即购买
                                </a>
                              </div>
                            </div>
                            <div
                              class="series-item-card_img js-parallax-ele skrollable skrollable-before"
                              data-top-bottom="transform: translateY(-58%);"
                              data-bottom-top="transform: translateY(-42%);"
                              style="transform: translateY(-42%)"
                            >
                              <a
                                href="/cn/tablets/matepad-11"
                                class="btn--series-topdp"
                                data-position="1"
                                data-mktname="HUAWEI MatePad 11"
                                title="HUAWEI MatePad 11"
                              >
                                <img
                                  class="series-lazy"
                                  src="./images/03.jpg"
                                />
                              </a>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                <div class="slot"></div>
                <!-- More Button -->
                <div class="js-scroll-magic">
                  <div
                    class="series-item-in"
                    data-title="HUAWEI MatePad Paper 系列"
                  >
                    <div class="series-item-title">
                      纸笔之间，卓然
                      <span style="white-space: nowrap">成篇</span>
                    </div>
                    <div class="series-item-text">
                      HUAWEI MatePad Paper 系列
                    </div>
                  </div>
                  <div>
                    <div class="series-banner-item">
                      <div
                        class="series-item-card series-item-card--right"
                        data-position="1"
                      >
                        <div>
                          <div
                            class="global-eCommerce-price series-item-card_wrap"
                            data-title="HUAWEI MatePad Paper <br/>墨水平板"
                            data-interfacename="queryMinPriceAndInv"
                            data-ecsetting="true"
                            data-ecproductid="10086320166462"
                            data-vmallbtn="true"
                            data-pricedisplaytype="{1}{2} {0}"
                            data-productprice="2999"
                          >
                            <div class="series-item-card_content">
                              <div class="series-item-content_exceptbtn">
                                <div class="series-item-content_top">
                                  <div class="series-item-card_label">
                                    <span>最热</span>
                                  </div>
                                  <div class="series-item-card_dot" style="">
                                    10.3 英寸
                                  </div>
                                  <div
                                    class="series-item-card_title series-item-card-title_normal"
                                  >
                                    <a
                                      href="/cn/tablets/matepad-paper"
                                      class="btn--series-topdp"
                                      data-position="1"
                                      data-mktname="HUAWEI MatePad Paper <br/>墨水平板"
                                      title="HUAWEI MatePad Paper  墨水平板"
                                    >
                                      HUAWEI MatePad Paper
                                      <br />
                                      墨水平板
                                    </a>
                                  </div>
                                  <div
                                    style="color: #000000"
                                    class="series-item-card_subtitle"
                                  >
                                    10.3
                                    英寸护眼全面屏，阅读批注似纸张，办公写记也高效。
                                  </div>
                                  <div class="series-item-card_points"></div>
                                </div>
                                <div
                                  class="series-item-card_price"
                                  data-enableskuprice="false"
                                  data-enableintegration="true"
                                >
                                  <div>
                                    <span class="series-item-price_origin">
                                      ￥2999 起
                                    </span>
                                  </div>
                                </div>
                              </div>
                              <div class="series-item-card_btns">
                                <a
                                  title="了解更多"
                                  href="/cn/tablets/matepad-paper"
                                  class="btn btn--series-topdp"
                                  data-position="1"
                                  data-mktname="HUAWEI MatePad Paper <br/>墨水平板"
                                >
                                  了解更多
                                </a>
                                <input
                                  type="hidden"
                                  name="buyBtnInfo"
                                  value='{"productName":"HUAWEI MatePad Paper 墨水平板","marketingName":"HUAWEI MatePad Paper 墨水平板","productId":"SPCG00017504","onePriceDisplay":false,"buyButtonMode":{"buttonType":"third-party-site","openInNewPage":true,"thirdPartySiteLink":"https://www.vmall.com/product/10086320166462.html?cid=163162","mobileThirdPartySiteLink":"https://m.vmall.com/product/10086320166462.html?cid=163175","partnerCountryFilterEffective":false,"disabledProductLink":false},"price":"2999","enableEc":"true","ecProductId":"10086320166462","ecBuyLink":"/content/huawei-cbg-site/cn/tablets/matepad-paper/buy","ecOpenInNewPage":"false","productTitle":"matepad-paper","detailLink":"/content/huawei-cbg-site/cn/tablets/matepad-paper","openStoreFinderInNewPage":false,"showStoreFinder":false,"priceDisplayType":"{1}{2} {0}","hasPcp":false}'
                                />
                                <a
                                  title="立即购买"
                                  href="/cn/tablets/matepad-paper"
                                  data-nameforga=""
                                  data-position="1"
                                  data-eventtype="plp-list"
                                  data-enableec="true"
                                  data-ecpid="10086320166462"
                                  data-ecbuylink="/content/huawei-cbg-site/cn/tablets/matepad-paper/buy"
                                  class="btn global-buy-button btn--transparent"
                                  data-mktname="HUAWEI MatePad Paper <br/>墨水平板"
                                >
                                  立即购买
                                </a>
                              </div>
                            </div>
                            <div
                              class="series-item-card_img js-parallax-ele skrollable skrollable-before"
                              data-top-bottom="transform: translateY(-58%);"
                              data-bottom-top="transform: translateY(-42%);"
                              style="transform: translateY(-42%)"
                            >
                              <a
                                href="/cn/tablets/matepad-paper"
                                class="btn--series-topdp"
                                data-position="1"
                                data-mktname="HUAWEI MatePad Paper <br/>墨水平板"
                                title="HUAWEI MatePad Paper  墨水平板"
                              >
                                <img
                                  class="series-lazy"
                                  src="./images/05.png"
                                  alt="HUAWEI MatePad Paper <br/>墨水平板"
                                />
                              </a>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                <div class="slot"></div>
                <!-- More Button -->
                <div class="js-scroll-magic">
                  <div
                    class="series-item-in"
                    data-title="HUAWEI MatePad SE 系列"
                  >
                    <div class="series-item-title">
                      畅享视听，全家
                      <span style="white-space: nowrap">同乐</span>
                    </div>
                    <div class="series-item-text">HUAWEI MatePad SE 系列</div>
                  </div>
                  <div>
                    <div class="series-banner-item">
                      <div
                        class="series-item-card series-item-card--left"
                        data-position="1"
                      >
                        <div>
                          <div
                            class="global-eCommerce-price series-item-card_wrap"
                            data-title="HUAWEI MatePad SE"
                            data-interfacename="queryMinPriceAndInv"
                            data-ecsetting="true"
                            data-ecproductid="10086076390403"
                            data-vmallbtn="true"
                            data-pricedisplaytype="{1}{2} {0}"
                          >
                            <div class="series-item-card_content">
                              <div class="series-item-content_exceptbtn">
                                <div class="series-item-content_top">
                                  <div class="series-item-card_label">
                                    <span>最热</span>
                                  </div>
                                  <div class="series-item-card_dot" style="">
                                    10.1 英寸
                                  </div>
                                  <div
                                    class="series-item-card_title series-item-card-title_normal"
                                  >
                                    <a
                                      href="/cn/tablets/matepad-se"
                                      class="btn--series-topdp"
                                      data-position="1"
                                      data-mktname="HUAWEI MatePad SE"
                                      title="HUAWEI MatePad SE"
                                    >
                                      HUAWEI MatePad SE
                                    </a>
                                  </div>
                                  <div
                                    style="color: #000000"
                                    class="series-item-card_subtitle"
                                  >
                                    拥有全高清大屏与大振幅双扬声器，支持多重护眼，
                                    <br />
                                    全家共享，其乐
                                    <span class="nowrap">无穷。</span>
                                  </div>
                                  <div class="series-item-card_points"></div>
                                </div>
                                <div
                                  class="series-item-card_price"
                                  data-enableskuprice="false"
                                  data-enableintegration="true"
                                >
                                  <div>
                                    <span class="series-item-price_origin">
                                      ￥1299 起
                                    </span>
                                  </div>
                                </div>
                              </div>
                              <div class="series-item-card_btns">
                                <a
                                  title="了解更多"
                                  href="/cn/tablets/matepad-se"
                                  class="btn btn--series-topdp"
                                  data-position="1"
                                  data-mktname="HUAWEI MatePad SE"
                                >
                                  了解更多
                                </a>
                                <input
                                  type="hidden"
                                  name="buyBtnInfo"
                                  value='{"productName":"HUAWEI MatePad SE","marketingName":"HUAWEI MatePad SE","productId":"SPCG00018563","onePriceDisplay":false,"buyButtonMode":{"buttonType":"third-party-site","buyButtonText":"购买","openInNewPage":true,"thirdPartySiteLink":"https://www.vmall.com/product/10086076390403.html?cid=171261","mobileThirdPartySiteLink":"https://m.vmall.com/product/10086076390403.html?cid=171272","partnerCountryFilterEffective":false,"disabledProductLink":false},"enableEc":"true","ecProductId":"10086076390403","ecBuyLink":"/content/huawei-cbg-site/cn/tablets/matepad-se/buy","ecOpenInNewPage":"false","productTitle":"matepad-se","detailLink":"/content/huawei-cbg-site/cn/tablets/matepad-se","openStoreFinderInNewPage":false,"showStoreFinder":false,"priceDisplayType":"{1}{2} {0}","hasPcp":false}'
                                />
                                <a
                                  title="立即购买"
                                  href="/cn/tablets/matepad-se"
                                  data-nameforga=""
                                  data-position="1"
                                  data-eventtype="plp-list"
                                  data-enableec="true"
                                  data-ecpid="10086076390403"
                                  data-ecbuylink="/content/huawei-cbg-site/cn/tablets/matepad-se/buy"
                                  class="btn global-buy-button btn--transparent"
                                  data-mktname="HUAWEI MatePad SE"
                                >
                                  立即购买
                                </a>
                              </div>
                            </div>
                            <div
                              class="series-item-card_img js-parallax-ele skrollable skrollable-before"
                              data-top-bottom="transform: translateY(-58%);"
                              data-bottom-top="transform: translateY(-42%);"
                              style="transform: translateY(-42%)"
                            >
                              <a
                                href="/cn/tablets/matepad-se"
                                class="btn--series-topdp"
                                data-position="1"
                                data-mktname="HUAWEI MatePad SE"
                                title="HUAWEI MatePad SE"
                              >
                                <img
                                  class="series-lazy"
                                  src="./images/06.png"
                                  alt="HUAWEI MatePad SE"
                                />
                              </a>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                <div class="slot"></div>
                <!-- More Button -->
              </div>
            </div>
          </div>
        </div>
      </div>
    </main>
    <script>
      const top1 = document.querySelector(".productnav")
      const lis = document.querySelectorAll(".productnav-link")
      const lines = document.querySelector(".line")
      const magics = document.querySelectorAll(".js-scroll-magic")
      window.addEventListener("scroll", () => {
        const tops = document.documentElement.scrollTop
        console.log(tops)
        if (tops >= 80) {
          top1.classList.add("fixed")
          lines.style.width = "160px"
          lines.style.transform = "translateX(0)"
          magics[0].style.marginTop = "201px"
        } else {
          top1.classList.remove("fixed")
          magics[0].style.marginTop = "0px"
        }
        if (tops >= 700) {
          lines.style.transform = "translateX(170px)"
        }
        if (tops >= 1700) {
          lines.style.transform = "translateX(360px)"
        }
        if (tops >= 2400) {
          lines.style.transform = "translateX(560px)"
        }
      })
      for (let i = 0; i < lis.length; i++) {
        lis[i].addEventListener("click", () => {
          document.documentElement.scrollTop = magics[i].offsetTop
          // console.log(123)
          if (i === 0) {
            document.documentElement.scrollTop = 201
          }
        })
      }
    </script>
  </body>
</html>
